package tables

type Upload struct {
	Id           int    `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	Acid         int    `xorm:"" json:"acid" form:"acid" mapstructure:"acid"`
	Uid          int    `xorm:"" json:"uid" form:"uid" mapstructure:"uid"`
	App          string `xorm:"" json:"app" form:"app" mapstructure:"app"`
	Role         string `xorm:"" json:"role" form:"role" mapstructure:"role"`
	Storage      string `xorm:"" json:"storage" form:"storage" mapstructure:"storage"`
	GroupId      int    `xorm:"" json:"group_id" form:"group_id" mapstructure:"group_id"`
	OriginalName string `xorm:"" json:"original_name" form:"original_name" mapstructure:"original_name"`
	Name         string `xorm:"" json:"name" form:"name" mapstructure:"name"`
	Path         string `xorm:"" json:"path" form:"path" mapstructure:"path"`
	Url          string `xorm:"" json:"url" form:"url" mapstructure:"url"`
	Size         int    `xorm:"" json:"size" form:"size" mapstructure:"size"`
	Type         string `xorm:"" json:"type" form:"type" mapstructure:"type"`
	Suffix       string `xorm:"" json:"suffix" form:"suffix" mapstructure:"suffix"`
	CreatedAt    int    `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt    int    `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt    int    `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
}
